package com.nsl.my_youlai.bbu2.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.nsl.my_youlai.common.base.IBaseEnum;
import com.nsl.my_youlai.mystar.enums.EnumTypeEnum;
import com.nsl.my_youlai.mystar.enums.NslEnumBaseI;

public enum CityEnum implements NslEnumBaseI<Integer> {
    //郑州
    //开封
//    洛阳
//     平顶山
//    安阳
//            鹤壁
//    新乡
//            焦作
//    濮阳
//            许昌
//    漯河
//            三门峡
//    商丘
//            周口
//    驻马店
//            南阳
//    信阳
//            济源

    ZHENG_ZHOU(1,"郑州"),
    KAI_FENG(2,"开封"),
    LUO_YANG(3,"洛阳"),
    PING_DING_SHAN(4,"平顶山"),
    AN_YANG(5,"安阳"),
    HE_BI(6,"鹤壁"),
    XIN_XIANG(7,"新乡"),
    JI_ZUO(8,"焦作"),
    PU_YANG(9,"濮阳"),
    XU_CHANG(10,"许昌"),
    LUO_HE(11,"漯河"),
    SAN_MEN_XIA(12,"三门峡"),
    SHANG_QIU(13,"商丘"),
    ZHOU_KOU(14,"周口"),
    ZHU_MA_DIAN(15,"驻马店"),
    NAN_YANG(16,"南阳"),
    XIN_YANG(17,"信阳"),
    JI_YUAN(18,"济源");


    @EnumValue//标记数据库记录的值是code
    private Integer value;

    private String label;



    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getLabel() {
        return label;
    }

    @Override
    public EnumTypeEnum getEnumType() {
        return EnumTypeEnum.CITY_TYPE_ENUM;
    }


    CityEnum(Integer value, String label){
        this.value=value;
        this.label=label;
    }
}
